package ExpressFour;

//这是一个inode节点
public class INode {

    private String name;//名称
    private final long Inode;//文件的inode号
    private String time;//修改时间

    private final String type;//什么类型，是文件还是目录
    INode(String name,long Inode,String time,String type){
        this.name=name;
        this.Inode=Inode;
        this.time=time;

        this.type=type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public long getInode() {
        return Inode;
    }

    public String getTime() {
        return time;
    }
    public void setTime(String time) {
        this.time = time;
    }


    @Override
    public String toString() {
        return "name='" + name +
                "'\nInode=" + Inode +
                "\ntime='" + time +
                "'\ntype='" + type+"'";
    }
}
